﻿using Sidvall.Collections;

namespace Sidvall.FileSystemManager.Net.Services.V1.Model
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
    public partial class EntityCache
    {
        #region Public Members

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public RenameConfigCollectionItem RenameConfigCache { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public CleanConfigCollectionItem CleanConfigCache { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public PathNameCollectionItem PathNameCache { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public SearchConfigCollectionItem SearchConfigCache { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public UserConfigurationCollectionItem UserConfigurationCache { get; set; }
        
        #region Clear

        public void Clear()
        {
            this.RenameConfigCache = null;
            this.CleanConfigCache = null;
            this.PathNameCache = null;
            this.SearchConfigCache = null;
            this.UserConfigurationCache = null;
        }

        #endregion
        
        #endregion
        #region Constructors

        public EntityCache()
        {
        }

        #endregion
    }
}